#ifndef INPUT_H
#define INPUT_H

#include "def.h"
#include "graphics.h"
#include "cmus-rg.h"

void init_input();
void cleanup_input(button_node *root);
button construct_button(char id, int x, int y, int w, int h, void (*callback)(void* data), SDL_Texture *texture);
void register_mousedown_event(button_node **root, button_node **tail, button b);
void destroy_buttons(button_node *root);
void get_input(button_node *root);

#endif